<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <h:head>
        <title>Polikiroldegia</title>
    </h:head>
    <h:body>
        <ui:composition template="./WEB-INF/Templates/admin.xhtml">
            <ui:define name="top">
                <table style="width: 100%;">
                    <tr>
                        <td>
                            <div align="left" style="float:left; "><p:graphicImage alt="Irudia" url="irudiak/logo.jpg"></p:graphicImage></div>
                        </td>
                        <td>
                            <div align="center"><p:graphicImage alt="Irudia" url="irudiak/Kirolplus.png"></p:graphicImage></div>
                        </td>
                        <td>
                            <div align="right">
                                <p style="font: bold large cursive;" >Welcome, #{user.unekoa.izena}</p>
                                <h:form>
                                    <h:commandButton value="Irten" action="#{user.logOut()}"/>
                                </h:form>
                            </div>
                        </td>
                    </tr>
                </table>


            </ui:define>

            <ui:define name="left">
                <ui:include src="/elementuak/ezkerrekoZutabea.xhtml" />
            </ui:define>

            <ui:define name="content">
                <p:tabView id="tabView" orientation="right" >  
                    <p:tab title="Bezeroak" titleStyle="font-size:16px">  
                        <ui:include src="/elementuak/taulak/bezeroTaula.xhtml" />
                    </p:tab>  
                    
                    <p:tab title="Monitoreak" titleStyle="font-size:16px">  
                        <ui:include src="/elementuak/taulak/monitoreTaula.xhtml" />
                    </p:tab> 
                    
                    <p:tab title="Instalazioak" titleStyle="font-size:16px">  
                        <ui:include src="/elementuak/taulak/instalazioTaula.xhtml" />
                    </p:tab> 
                    
                    <p:tab title="Kurtsoak" titleStyle="font-size:16px">  
                        <ui:include src="/elementuak/taulak/kurtsoTaula.xhtml" />
                    </p:tab>  
                       
                    <p:tab title="Alokairuak" titleStyle="font-size:16px">  
                        <ui:include src="/elementuak/taulak/alokairuTaula.xhtml" />
                    </p:tab>
                    
                    <p:tab title="Tarifak" titleStyle="font-size:16px">  
                        <ui:include src="/elementuak/taulak/tarifaTaula.xhtml" /> 
                    </p:tab> 

                    <p:tab title="Espezialitateak" titleStyle="font-size:16px">  
                        <ui:include src="/elementuak/taulak/espezialitateTaula.xhtml" />
                    </p:tab> 

                </p:tabView> 

            </ui:define>    
        </ui:composition>

    </h:body>
</html>

